package org.example;

public class TestComplex {

    public static void main(String[] args) {
        isValid("");
        isValid("中文");
        isValid("123456789");
        isValid("aaabbbccc");
        isValid("AAABBBCCCabc");
        isValid("AAAbbb123");
        isValid("abcABC1@中文");
        isValid("aB1@");

        isValid("abcABC1@");
        isValid("aaaBBB111@");
        isValid("aaabbbBBB111~!@#$%^&*()_+=-`{}|[]\\:\";'<>?,./");
    }

    private static void isValid(String text) {
        System.out.println(text + " === " + PasswordValidator.isValid(text));
    }

}
